package com.kn.order.service;

import com.kn.common.model.PageBean;
import com.kn.common.model.R;
import com.kn.order.dto.ContractDto;
import com.kn.order.model.Contract;

import javax.servlet.http.HttpServletResponse;

public interface OrderService {
    R list(PageBean pageBean, String cdate, String container, String flowerNo, Boolean isfinish);

    R delete(Long id);

    R port();

    R add(Contract contract);

    R customer();

    R openScissors();

    R packaging();

    R product();

    R productWidth();

    R technology();

    R simple();

    R orderById(Long id);

    R edit(Long id, Contract contract);

    R exportAddresses(HttpServletResponse response);

    R export();
}
